package com.ruoyi.english.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单词本对象 t_en_book
 * 
 * @author ruoyi
 * @date 2021-12-25
 */
public class EnBook extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单词id */
    private Long bookId;

    /** 创建人Id */
    @Excel(name = "创建人Id")
    private Long userId;

    /** $column.columnComment */
    @Excel(name = "单词本名称")
    private String bookName;

    /** 创建人Id */
    @Excel(name = "单词本基本信息")
    private String info;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setBookId(Long bookId)
    {
        this.bookId = bookId;
    }

    public Long getBookId()
    {
        return bookId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setBookName(String bookName)
    {
        this.bookName = bookName;
    }

    public String getBookName()
    {
        return bookName;
    }
    public void setInfo(String info)
    {
        this.info = info;
    }

    public String getInfo()
    {
        return info;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("bookId", getBookId())
                .append("userId", getUserId())
                .append("bookName", getBookName())
                .append("info", getInfo())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .toString();
    }
}
